<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title><?php echo __FUNCTION__?></title>
    <meta name="description" content="">
    <meta name="author" content="">

    <link rel="stylesheet" type="text/css" href="<?php echo bootstrap_url()?>css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo assets_url()?>css/custom.css?r=<?php echo rand();?>" />

  </head>

  <body>
    <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <a class="brand" href="#">Projeto Beta</a>
          <div class="nav-collapse collapse">
            <p class="navbar-text pull-right">
              Logged in as <a href="#" class="navbar-link">Username</a>
            </p>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>

    <div class="container">

      <div class="hero-unit form_login">

        <?php if ($this->session->flashdata('erro') !== FALSE):?>
        <div class="alert alert-error"><?php echo $this->session->flashdata('erro')?></div>
        <?php endif?>

        <?php echo form_open('login/login_usuario')?>
          <table class="tb_form">
            <tr>
              <td><label>Usuário: </label></td>
              <td><?php echo form_input('usuario_login', set_value('usuario_login'), 'autofocus="autofocus"')?></td>
            </tr>
            <tr>
              <td><label>Senha:</label></td>
              <td><?php echo form_password('usuario_pass')?></td>
            </tr>
            <tr>
              <td></td>
              <td><button type="submit" class="btn btn-success btn-small">Entrar</button></td>
            </tr>
          </table>
        <?php echo form_close()?>
      </div>

    </div>

  </body>
</html>
